﻿using System;

// Token: 0x020001E9 RID: 489
public class ShootAction : ShooterAction
{
	// Token: 0x06000A65 RID: 2661 RVA: 0x0005A8D9 File Offset: 0x00058AD9
	public ShootAction()
	{
		this.name = "Shoot";
	}

	// Token: 0x06000A66 RID: 2662 RVA: 0x0005A8EC File Offset: 0x00058AEC
	public override void StartAction()
	{
		this.shooterController = this.agent.gameObject.GetComponent<AIShooterController>();
		this.shooterController.StartFiring(false);
	}

	// Token: 0x06000A67 RID: 2663 RVA: 0x0005A910 File Offset: 0x00058B10
	public override bool IsCompleted()
	{
		return this.hasStarted && this.shooterController.isFiring;
	}
}
